/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-03-22 08:39:42
 * @LastEditors: voanit
 * @LastEditTime: 2022-03-22 14:55:57
 */
import { filterActives } from '../actionTypes'
export default function filter(state = 'all', action) {
  switch (action.type) {
    case filterActives:
      return action.payload
    default:
      return state
  }
}
